package com.mach.platform.api.controller;

import com.mach.platform.api.service.MessageServiceImpl;
import com.mach.platform.domain.Response;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@Api(tags = {"小程序首页接口"})
@RestController
@RequestMapping("/api/home")
public class HomeCtrl {

    @Autowired
    private MessageServiceImpl messageService;


    @ApiOperation(value = "首页消息")
    @PostMapping("/homeMessage")
    public Response homeMessage() {

        return null;
    }


    @ApiOperation(value = "浏览器历史")
    @PostMapping("/browsingHistory")
    public Response browsingHistory() {

        return null;
    }


}
